package com.itrencai.d1_static.demoshuzu;

public class Test {
    public static void main(String[] args) {
        int[] arr={10,20,30};
        int[] arr2={};
        System.out.println(arr);
        System.out.println(Tool.toSring(arr));//调用工具类里面的返回数组值方法
        System.out.println(Tool.toSring(arr2));//[]
        System.out.println(Tool.getAverage(arr));
    }
}
